﻿using Niti.OrderManage.OrderManage;
using Niti.OrderManage.OrderManage.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace Niti.OrderManage.Repositories.OrderManage
{

    public class ReceiptOrderRepository : EfCoreRepository<NitiOrderManageDbContext, ReceiptOrder, int>, IReceiptOrderRepository
    {
        public ReceiptOrderRepository(IDbContextProvider<NitiOrderManageDbContext> dbContextProvider) : base(dbContextProvider)
        {


        }


        //public override async Task<IQueryable<ReceiptOrder>> WithDetailsAsync()
        //{
        //    if (AbpEntityOptions.DefaultWithDetailsFunc == null)
        //    {
        //        return await base.WithDetailsAsync();
        //    }

        //    return AbpEntityOptions.DefaultWithDetailsFunc(await GetQueryableAsync());
        //}





    }
}
